package com.untrance.shop.core.service;

import java.util.List;

import com.google.appengine.api.datastore.Key;
import com.untrance.shop.common.vo.ProductDetailsVO;
import com.untrance.shop.model.Product;

/**
 * @author eugene zadyra
 */
public interface ProductService {
	Product get(Key key);
	List<Product> getAllProducts();
	Integer getProductsCount();
	Product addProduct(Product product);
	Integer getProductsCountInCategory(Key categoryKey);
	List<Product> getLimitedAmountOfProducts(Key categoryKey, Integer from, Integer itemsPerPage);
	ProductDetailsVO getProductDetailsVO(Key productKey);
}
